package com.augurit.gis.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(schema="sde", name = "LOCATIONITEM")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class LocationItem {
	@Id
    @Column(name = "ID")
    @SequenceGenerator(name="SEQ_LOCATIONITEM", sequenceName="SEQ_LOCATIONITEM", allocationSize=1)
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_LOCATIONITEM")
	private Long id;
	private String layerName;
	private String title;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getLayerName() {
		return layerName;
	}
	public void setLayerName(String layerName) {
		this.layerName = layerName;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	
	
}
